package model;

import annotion.Id;
import annotion.Table;

import java.io.Serializable;
@Table("category")
public class Category implements Serializable {
    @Id
    private Integer id;
    private String name;
    public Category() {
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
